const express = require("express");
const router = express.Router();

const extendArticleType = require("../controllers/extendArticleType");

router.get("/list", extendArticleType.list);
router.get("/getTypeListAndArticle", extendArticleType.getTypeListAndArticle);

router.post("/add", extendArticleType.add);

router.post("/update", extendArticleType.update);

router.post("/del", extendArticleType.del);

module.exports = router;
